package csnet.openflow.config;

import org.json.JSONException;
import org.json.JSONObject;

import csnet.openflow.util.log.LoggerGenerator;

public class LoggerInterpreter {
    private static final String PATH = "path";

    public static LoggerGenerator interpreter(JSONObject json)
            throws JSONException {
        String path = json.getString(PATH);
        return new LoggerGenerator(path);
    }
}
